﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Shared/Window.master" AutoEventWireup="true" CodeFile="UserDetail.aspx.cs" Inherits="View_Account_AccDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" Runat="Server">
Chi tiết người dùng
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<script type="text/javascript" src="../../Scripts/ResizeWindow.js"></script>

    <form id="form1" runat="server">

        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>

        <telerik:RadTabStrip ID="tabRegister" runat="server" Skin="Office2007" OnClientTabSelected="AdjustRadWidow" MultiPageID="mpRegister" SelectedIndex="0">
            <Tabs>
                <telerik:RadTab Text="Thôn tin nhân viên">
                </telerik:RadTab>
                <telerik:RadTab Text="Thông tin công việc" Selected="True">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>

        <telerik:RadMultiPage ID="mpRegister" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="pageUInfo" runat="server">
                <br />
                <br />
                <fieldset>
                    <legend><strong>Thông tin cá nhân</strong></legend>
                    <table>
                        <tr>
                            <td rowspan="10" width="200px">
                                <image src="http://2.bp.blogspot.com/_eZKbu2fL3fI/SLuPUzU1V8I/AAAAAAAAABY/EQpLjaO3rk0/s200/david_beckham3.jpg" />
                            </td>
                        </tr>
                        <tr> 
                            <td><label >Tên tài khoản</label></td>
                            <td><telerik:RadTextBox ID="txtUserName" Width="200"  Runat="server"></telerik:RadTextBox></td>
                        </tr>
                        <tr>
                            
                            <td><label >Họ tên</label></td>
                            <td ><telerik:RadTextBox ID="txtFullName" Width="200"  Runat="server"></telerik:RadTextBox></td>
                        </tr>
                        <tr>
                            
                            <td><label >CMND</label></td>
                            <td><telerik:RadTextBox ID="txtCMND" Width="200"  Runat="server"></telerik:RadTextBox></td>
                        </tr>
                        <tr>
                            
                            <td><label >Ngày sinh</label></td>
                            <td>
                                <telerik:RadDatePicker ID="dpBirth" runat="server">
                                    <ClientEvents OnPopupOpening="AdjustRadWidow" OnPopupClosing="AdjustRadWidow" OnDateSelected="AdjustRadWidow"/>    
                                </telerik:RadDatePicker>
                            </td>
                        </tr>
                        <tr>
                            
                            <td><label >Điện thoại</label></td>
                            <td><telerik:RadTextBox ID="txtPhone" Width="200"  Runat="server"></telerik:RadTextBox></td>
                        </tr>
                        <tr>
                            
                            <td><label >Email</label></td>
                            <td><telerik:RadTextBox ID="txtEmail" Width="200" Runat="server"></telerik:RadTextBox></td>
                        </tr>
                        <tr>
                            
                            <td><label >Địa chỉ</label></td>
                            <td><telerik:RadTextBox ID="txtAddress" Width="200"  Runat="server"></telerik:RadTextBox></td>
                        </tr>
                        <tr>
                            
                            <td><label>Hình ảnh</label></td>
                            <td>
                                <telerik:RadUpload ID="upImage" runat="server" ControlObjectsVisibility="None" 
                                    Height="30px">
                                </telerik:RadUpload>
                            </td>
                        </tr>
                        <tr>
                            
                            <td><label >Ghi chú</label></td>
                            <td><telerik:RadTextBox ID="txtNote" Width="250" Height="100" TextMode="MultiLine" Runat="server"></telerik:RadTextBox></td>
                        </tr>
                    </table>
                </fieldset>
                <br />
                <p class="buttoncenter">
                    <telerik:RadButton ID="bEdit1" runat="server" Text="Sửa" Width="100px" ></telerik:RadButton>
                    <telerik:RadButton ID="bAdd1" runat="server" Text="Lưu" Width="100px" ></telerik:RadButton>
                    <telerik:RadButton ID="bClose1" runat="server" Text="Hủy bỏ" Width="100px" ></telerik:RadButton>
                </p>

            </telerik:RadPageView>

            <telerik:RadPageView ID="pageWInfo" runat="server">
                <br />
                <br />
                <fieldset>
                    <legend><strong>Thông tin công việc</strong></legend>
                    <table>
                        <tr>
                            <td width="150px">
                                <label>Mã nhân viên</label>
                            </td>
                            <td>
                                <telerik:RadComboBox runat="server" ID="cbEmployeeID"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>Ngày bắt đầu làm việc</label>
                            </td>
                            <td>
                                <telerik:RadDatePicker ID="dpSWork" runat="server">
                                    <ClientEvents OnPopupOpening="AdjustRadWidow" OnPopupClosing="AdjustRadWidow" OnDateSelected="AdjustRadWidow"/>     
                                </telerik:RadDatePicker>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>Ngày kết thúc làm việc</label>
                            </td>
                            <td>
                                <telerik:RadDatePicker ID="dpEWork" runat="server">
                                    <ClientEvents OnPopupOpening="AdjustRadWidow" OnPopupClosing="AdjustRadWidow" OnDateSelected="AdjustRadWidow"/>    
                                </telerik:RadDatePicker> 
                            </td>
                        </tr>
                    </table>
                    <br />
                    <br />
                    <label>Bộ phận làm việc</label>
                    <telerik:RadListView ID="lstDepartment" runat="server">
                    </telerik:RadListView>
                    <br />
                    <br />
                    <label>Nơi làm việc</label>
                    <telerik:RadListView ID="lstLocation" runat="server">
                    </telerik:RadListView>
                    <br />
                    <br />
                    <label>Quyền trong hệ thống</label>
                    <telerik:RadListView ID="lstPermission" runat="server">
                    </telerik:RadListView>   
                </fieldset>
                <br />
                <p class="buttoncenter">
                    <telerik:RadButton ID="bEdit2" runat="server" Text="Sửa" Width="100px" ></telerik:RadButton>
                    <telerik:RadButton ID="bAdd2" runat="server" Text="Lưu" Width="100px" ></telerik:RadButton>
                    <telerik:RadButton ID="bClose2" runat="server" Text="Hủy bỏ" Width="100px" ></telerik:RadButton>
                </p>
            </telerik:RadPageView>
        </telerik:RadMultiPage> 
    </form>
</asp:Content>

